<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./reset.css">
    <title>Document</title>
    <style>
        ul {
            width: 1080px;
            height: 45px;
            background-color: red;
            margin: 0 auto;
        }

        a {
            text-decoration: none;
            color: #fff;
        }

        ul li {
            float: left;
            width: 180px;
            height: 100%;
            text-align: center;
            line-height: 45px;

        }

        ul li a {
            padding-left: 20px;
            background-image: url(./imgs/trump_run.png);
            background-repeat: no-repeat;
            background-size: 300px;
            background-position: -100px -6px;
        }
    </style>
</head>

<body>
    <ul>
        <li><a href="#">奥巴马2</a></li>
        <li><a href="#">奥巴马</a></li>
        <li><a href="#">特朗普</a></li>
        <li><a href="#">特没谱</a></li>
        <li><a href="#">川建国</a></li>
        <li><a href="#">拜振华</a></li>
    </ul>
</body>

</html>